home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Graphics / Gnuplot / Source / PlotView.h < prev    next >
Encoding:
Text File  |  1993-03-18  |  1.2 KB  |  49 lines

  1.  
  2. /* $Id: PlotView.h,v 1.1.1.1 1993/03/18 03:34:55 davis Exp $ */
  3.  
  4. #import <appkit/View.h>
  5.  
  6. @interface PlotView:View
  7. {
  8.     id        image;                /* The cache NXImage    */
  9.     NXStream    *epsStream;            /* The stream of EPS    */
  10.     BOOL    tempFileNeedsUpdate;        /* Does temp match stream? */
  11.     float    imageOrigHeight, imageOrigWidth;
  12.     char    *fullPath;            /* Path of the EPS file    */
  13. }
  14.  
  15. - initFrame:(const NXRect *) frameRect;
  16. - (BOOL)acceptsFirstResponder;        /* Overridden from Responder    */
  17. - (BOOL)acceptsFirstMouse;
  18.  
  19. - changeFont:sender;
  20. - copyFont:sender;
  21. - pasteFont:sender;
  22.                     /* Services support        */
  23. - validRequestorForSendType:(NXAtom)sendType andReturnType:(NXAtom)returnType;
  24. - (BOOL) writeSelectionToPasteboard:pboard types:(NXAtom *)types;
  25.  
  26. - (BOOL)validateCommand:menuCell;
  27.  
  28. - copy:sender;
  29. - copyToPasteboard:pboard;
  30. - copyToPasteboard:pboard types:(NXAtom *)typesList;
  31. - copyPSToStream:(NXStream *)stream;
  32. - copyTIFFToStream:(NXStream *)stream;
  33.  
  34. - saveAsEPS:sender;
  35. - (const char *) writeEPSToTempFile;
  36. - saveEPSToFile:(const char *)filename;
  37.  
  38. - unlinkFile;
  39.  
  40. - mouseDown:(NXEvent *)theEvent;
  41. - free;
  42.  
  43. - drawSelf:(NXRect *)r :(int)count;
  44. - newStream:(NXStream *) aStream;
  45. - (float)scale:(float)scaleFactor;    /* Returns actual factor scaled    */
  46.  
  47.  
  48. @end
  49.